package com.ysstech.common.realm;

import org.apache.shiro.aop.AnnotationResolver;
import org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor;

/**
 * .自定义Shiro拦截处理类，继承 AuthorizingAnnotationMethodInterceptor
 */
public class YssAuthorizingAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor {

    public YssAuthorizingAnnotationMethodInterceptor() {
        super(new YssAuthorizingAnnotationHandler());
    }
    public YssAuthorizingAnnotationMethodInterceptor(AnnotationResolver annotationResolver) {
        super(new YssAuthorizingAnnotationHandler(), annotationResolver);
    }
}
